{% extends "DefaultBundle::admin_layout.html.twig" %}

{% block body %}
    <div class="form-login">
        {% if error %}
            <div class="alert alert-error">{{ error.message }}</div>
        {% endif %}
        <form class="form-horizontal" method="post" action="{{ path("admin_security_check") }}">
            <fieldset>
                <legend>Вход</legend>
                <div class="control-group">
                    <label class="control-label" for="inputEmail">Логин</label>
                    <div class="controls">
                        <input type="text" placeholder="Логин" name="_username" id="inputEmail">
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="inputPassword">Пароль</label>
                    <div class="controls">
                        <input type="password" id="inputPassword" placeholder="Пароль" name="_password">
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <button type="submit" class="btn">Вход</button>
                    </div>
                </div>
            </fieldset>
        </form>
           
    </div>
{% endblock %}